﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Epsilon
{
    public class Token
    {
        private TokenType type;
        private string value;
        private int line;
        private int col;

        public Token(TokenType t, string v, int l, int c)
        {
            type = t;
            value = v;
            line = l;
            col = c;
        }

        public TokenType Type
        {
            get { return type; }
        }

        public string Value
        {
            get { return value; }
        }

        public int Line
        {
            get { return line; }
        }

        public int Col
        {
            get { return col; }
        }
    }

    public enum TokenType
    {
        Variable,
        Keyword,
        Atom,
        Integer,
        String,
        Symbol
    }
}
